﻿using AuroraPlatform.Tools;
using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace AuroraPlatform.ViewModel
{
    public class UserVM : NotifyingObject
    {
        private string _id;

        public string ID
        {
            get { return _id; }
            set { _id = value; }
        }

        private string _name;

        public string Name
        {
            get { return _name; }
            set
            {
                _name = value;
                this.RaisePropertyChanged("Name");
            }
        }

        private string _password;

        public string Password
        {
            get { return _password; }
            set
            {
                _password = value;
                this.RaisePropertyChanged("Password");
            }
        }

        private int _roleType;

        public int RoleType
        {
            get { return _roleType; }
            set
            {
                _roleType = value;
                this.RaisePropertyChanged("RoleType");
            }
        }

        public object Clone()
        {
            return this.MemberwiseClone();
        }
    }
}
